package o;

import android.content.Context;
import android.text.TextUtils;
import com.huawei.appgallery.foundation.service.common.protocol.AppDetailActivityProtocol;
import com.huawei.appgallery.foundation.service.common.protocol.AppDetailActivityProtocol.Request;
import com.huawei.appgallery.foundation.ui.framework.cardframe.bean.BaseCardBean;
import o.cii.c;

public class dpc implements c {
    public void ˏ(Context context, BaseCardBean baseCardBean) {
        if (context == null || baseCardBean == null) {
            Logger.ˋ("OptimizeJumpDetailActivityListener", "null == context || null == bean");
            return;
        }
        String ॱॱ = baseCardBean.ॱॱ();
        if (TextUtils.isEmpty(ॱॱ)) {
            ॱॱ = drj.ॱ(baseCardBean.ॱـ());
        }
        cjo appDetailActivityProtocol = new AppDetailActivityProtocol();
        Request request = new Request();
        request.ॱˎ(baseCardBean.v_());
        request.ʻॱ(baseCardBean.ॱˌ());
        request.ॱᐝ(baseCardBean.ॱˑ());
        request.ˊ(baseCardBean.ˉॱ());
        request.ˋ(ॱॱ);
        request.ˊ(baseCardBean.u_());
        appDetailActivityProtocol.ˏ(request);
        cjk.ˎ().ˋ(context, new cjm("appdetail.activity", appDetailActivityProtocol));
    }
}
